"use strict";
cc._RF.push(module, '8a3ecDXZxNL+rr8u24rzDKp', 'WindowUtils');
// Script/Tools/WindowUtils.ts

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var WindowUtils = /** @class */ (function () {
    function WindowUtils() {
        this.DEVICE_W = 0;
        this.DEVICE_H = 0;
        this.DESIGN_W = 720;
        this.DESIGN_H = 1280;
        this.SCALE_X = 1;
        this.SCALE_Y = 1;
        this.SCALE_FIT = 1;
        this.IS_PAD = false;
        this.IS_LONG = false;
    }
    WindowUtils.prototype.init = function () {
        var _a = cc.view.getVisibleSize(), width = _a.width, height = _a.height;
        this.DEVICE_W = width;
        this.DEVICE_H = height;
        this.SCALE_X = width / this.DESIGN_W;
        this.SCALE_Y = height / this.DESIGN_H;
        this.SCALE_FIT = this.SCALE_X < this.SCALE_Y ? this.SCALE_X : this.SCALE_Y;
    };
    return WindowUtils;
}());
exports.default = new WindowUtils();

cc._RF.pop();